package cn.tedu.demo.mapper;

import cn.tedu.demo.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper extends BaseMapper<Book> {

    List<Book> getByUserid(@Param("user_id") Integer user_id);
}
